<script setup>
defineProps({
  contact: Object
})
</script>

<template>
  <section class="contact">
    <h2>{{ contact.title }}</h2>
    <div class="contact-details" v-html="contact.details"></div>
  </section>
</template>

<style scoped>
.contact {
  padding: 2rem 0;
  text-align: center;
}

.contact-details {
  max-width: 800px;
  margin: 0 auto;
  padding: 1.5rem;
  background: var(--vp-c-bg-soft);
  border-radius: 8px;
  text-align: left;
}

.contact-details p {
  margin: 0.5rem 0;
}
</style>
